<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>

	
	<?php 
		//print_r ($this->input->post());
		
		echo form_fieldset('Finalisasi Registrasi',array('class' => 'form'));
		// ["jpc_nama"]=>
	  // ["jpc_nohp"]=>
	  // ["jpc_email"]=>
	  // ["jpc_kelas"]=>
	  // ["jpc_nama_sek"]=>
	  // ["jpc_alamat_sek"]=>=
	  // ["jpc_pembimbing"]=>=
	  // ["kode_verifikasi"]=>=
		echo '<div class="userinfo">';
		echo '<div class="userinfo_title">Data pendaftaran anda </div>';
		
		echo '<div class="userdata_label">Nama lengkap anda</div>';
		echo '<div class="userdata">'.$jpc_nama.'</div>';
		
		echo '<div class="userdata_label">Nomor ponsel anda</div>';
		echo '<div class="userdata">'.$jpc_nohp.'</div>';
		
		echo '<div class="userdata_label">Alamat email anda</div>';
		echo '<div class="userdata">'.$jpc_email.'</div>';
		
		echo '<div class="userdata_label">Kelas</div>';
		echo '<div class="userdata">'.$jpc_kelas.'</div>';
		
		echo '<div class="userdata_label">Nama sekolah</div>';
		echo '<div class="userdata">'.$jpc_nama_sek.'</div>';
		
		echo '<div class="userdata_label">Alamat sekolah</div>';
		echo '<div class="userdata">'.$jpc_alamat_sek.'</div>';
		
		echo '<div class="userdata_label">Nama lengkap pembimbing</div>';
		echo '<div class="userdata">'.$jpc_pembimbing.'</div>';
				
	
		echo '</div>';
		
				
		$agreement= '<hr style="margin-top: 20px;"><p class="content">Informasi yang tercantum diatas adalah benar. Panitia tidak bertanggung jawab atas kesalahan komunikasi yang terjadi akibat kesalahan pengisian.<p>';
		echo $agreement;
				
		echo '<div class="button-wrapper">';
		
		echo form_open('register_jpc/finalisasi',array('class' => 'inline'));
		echo form_submit(array(
				'name' => 'data_valid',
				'class' => 'button_y')
				, 'Lanjutkan pendaftaran');
		echo form_hidden($this->input->post());
		echo form_close();
	
		echo form_open('register_jpc/index',array('class' => 'inline'));
		echo form_submit(array(
				'name' => 'data_valid',
				'class' => 'button_n')
				, 'Kembali');
		echo form_hidden($this->input->post());
		echo form_close();
		echo '</div>';	
		
		echo form_fieldset_close(); 
	
	?>